const puppeteer = require('puppeteer');
const devices = require('puppeteer/DeviceDescriptors');
var request = require('request');
var fs = require('fs');
var request = require('request');
const path = require("path");
const mkdirp =require('mkdirp')
const superagent = require('superagent');
const iPhone = devices['iPhone 6'];
var url = `http://v.douyin.com/dk4pNY/`
var listData = []
puppeteer.launch({'headless': false}).then(async browser => {
  const page = await browser.newPage();
  await page.emulate(iPhone);
  await page.goto(url);
  console.log(2222)
  // ···························
  await browser.close();
  console.log('关闭浏览器')  
});
